package flash.display;

extern class Loader extends flash.display.DisplayObjectContainer
{
	function load(request:flash.net.URLRequest, context:flash.system.LoaderContext = null):Void;
	function loadBytes(bytes:flash.utils.ByteArray, context:flash.system.LoaderContext = null):Void;
	function close():Void;
	function unload():Void;
	function unloadAndStop(gc:Bool = true):Void;
	function loadFilePromise(promise:flash.desktop.IFilePromise, context:flash.system.LoaderContext = null):Void;
	var content(default, null):flash.display.DisplayObject;
	var uncaughtErrorEvents(default, null):flash.events.UncaughtErrorEvents;
	var contentLoaderInfo(default, null):flash.display.LoaderInfo;
	function new():Void;
}